# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'ui/Vondelmain.ui'
#
# Created: Wed Sep 15 14:08:00 2010
#      by: PyQt4 UI code generator 4.7.6
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    _fromUtf8 = lambda s: s

class Ui_Vondelmain(object):
    def setupUi(self, Vondelmain):
        Vondelmain.setObjectName(_fromUtf8("Vondelmain"))
        Vondelmain.resize(691, 496)
        Vondelmain.setWindowTitle(_fromUtf8("Vondel"))
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(_fromUtf8("C:/Users/Jeffrey/Documents/My Dropbox/Python/vondel/images/v.ico")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        Vondelmain.setWindowIcon(icon)
        self.centralWidget = QtGui.QWidget(Vondelmain)
        self.centralWidget.setObjectName(_fromUtf8("centralWidget"))
        self.verticalLayout = QtGui.QVBoxLayout(self.centralWidget)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.splitter = QtGui.QSplitter(self.centralWidget)
        self.splitter.setOrientation(QtCore.Qt.Horizontal)
        self.splitter.setObjectName(_fromUtf8("splitter"))
        self.treeBook = QtGui.QTreeWidget(self.splitter)
        self.treeBook.setRootIsDecorated(True)
        self.treeBook.setHeaderHidden(False)
        self.treeBook.setObjectName(_fromUtf8("treeBook"))
        self.treeBook.headerItem().setText(0, _fromUtf8("Text"))
        item_0 = QtGui.QTreeWidgetItem(self.treeBook)
        item_1 = QtGui.QTreeWidgetItem(item_0)
        item_2 = QtGui.QTreeWidgetItem(item_1)
        item_1 = QtGui.QTreeWidgetItem(item_0)
        item_2 = QtGui.QTreeWidgetItem(item_1)
        item_2 = QtGui.QTreeWidgetItem(item_1)
        self.treeBook.header().setVisible(True)
        self.stackedWidget = QtGui.QStackedWidget(self.splitter)
        self.stackedWidget.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.stackedWidget.sizePolicy().hasHeightForWidth())
        self.stackedWidget.setSizePolicy(sizePolicy)
        self.stackedWidget.setFrameShape(QtGui.QFrame.NoFrame)
        self.stackedWidget.setObjectName(_fromUtf8("stackedWidget"))
        self.pageChapters = QtGui.QWidget()
        self.pageChapters.setObjectName(_fromUtf8("pageChapters"))
        self.verticalLayout_4 = QtGui.QVBoxLayout(self.pageChapters)
        self.verticalLayout_4.setSpacing(0)
        self.verticalLayout_4.setMargin(2)
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.tabChapters = QtGui.QTabWidget(self.pageChapters)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.tabChapters.sizePolicy().hasHeightForWidth())
        self.tabChapters.setSizePolicy(sizePolicy)
        self.tabChapters.setObjectName(_fromUtf8("tabChapters"))
        self.tab = QtGui.QWidget()
        self.tab.setObjectName(_fromUtf8("tab"))
        self.verticalLayout_5 = QtGui.QVBoxLayout(self.tab)
        self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5"))
        self.listChapters = QtGui.QListWidget(self.tab)
        self.listChapters.setObjectName(_fromUtf8("listChapters"))
        self.verticalLayout_5.addWidget(self.listChapters)
        self.tabChapters.addTab(self.tab, _fromUtf8(""))
        self.tab_2 = QtGui.QWidget()
        self.tab_2.setObjectName(_fromUtf8("tab_2"))
        self.tabChapters.addTab(self.tab_2, _fromUtf8(""))
        self.verticalLayout_4.addWidget(self.tabChapters)
        self.stackedWidget.addWidget(self.pageChapters)
        self.pageScenes = QtGui.QWidget()
        self.pageScenes.setObjectName(_fromUtf8("pageScenes"))
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.pageScenes)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.tabWidget = QtGui.QTabWidget(self.pageScenes)
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tab_3 = QtGui.QWidget()
        self.tab_3.setObjectName(_fromUtf8("tab_3"))
        self.tabWidget.addTab(self.tab_3, _fromUtf8(""))
        self.tab_4 = QtGui.QWidget()
        self.tab_4.setObjectName(_fromUtf8("tab_4"))
        self.tabWidget.addTab(self.tab_4, _fromUtf8(""))
        self.verticalLayout_3.addWidget(self.tabWidget)
        self.stackedWidget.addWidget(self.pageScenes)
        self.verticalLayout.addWidget(self.splitter)
        Vondelmain.setCentralWidget(self.centralWidget)
        self.menuBar = QtGui.QMenuBar(Vondelmain)
        self.menuBar.setGeometry(QtCore.QRect(0, 0, 691, 21))
        self.menuBar.setObjectName(_fromUtf8("menuBar"))
        self.menu_File = QtGui.QMenu(self.menuBar)
        self.menu_File.setObjectName(_fromUtf8("menu_File"))
        self.menu_Help = QtGui.QMenu(self.menuBar)
        self.menu_Help.setObjectName(_fromUtf8("menu_Help"))
        self.menu_Chapter = QtGui.QMenu(self.menuBar)
        self.menu_Chapter.setObjectName(_fromUtf8("menu_Chapter"))
        self.menu_Scene = QtGui.QMenu(self.menuBar)
        self.menu_Scene.setObjectName(_fromUtf8("menu_Scene"))
        self.menu_Book = QtGui.QMenu(self.menuBar)
        self.menu_Book.setObjectName(_fromUtf8("menu_Book"))
        self.menuC_haracter = QtGui.QMenu(self.menuBar)
        self.menuC_haracter.setObjectName(_fromUtf8("menuC_haracter"))
        self.menu_Location = QtGui.QMenu(self.menuBar)
        self.menu_Location.setObjectName(_fromUtf8("menu_Location"))
        Vondelmain.setMenuBar(self.menuBar)
        self.toolBar = QtGui.QToolBar(Vondelmain)
        self.toolBar.setObjectName(_fromUtf8("toolBar"))
        Vondelmain.addToolBar(QtCore.Qt.ToolBarArea(QtCore.Qt.TopToolBarArea), self.toolBar)
        self.statusBar = QtGui.QStatusBar(Vondelmain)
        self.statusBar.setObjectName(_fromUtf8("statusBar"))
        Vondelmain.setStatusBar(self.statusBar)
        self.actionQuit = QtGui.QAction(Vondelmain)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(_fromUtf8(":/images/images/menu/menu_exit.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionQuit.setIcon(icon1)
        self.actionQuit.setObjectName(_fromUtf8("actionQuit"))
        self.action_About_Vondel = QtGui.QAction(Vondelmain)
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(_fromUtf8(":/images/images/menu/menu_information.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.action_About_Vondel.setIcon(icon2)
        self.action_About_Vondel.setObjectName(_fromUtf8("action_About_Vondel"))
        self.actionNew_Chapter = QtGui.QAction(Vondelmain)
        icon3 = QtGui.QIcon()
        icon3.addPixmap(QtGui.QPixmap(_fromUtf8(":/images/images/book/chapter.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionNew_Chapter.setIcon(icon3)
        self.actionNew_Chapter.setObjectName(_fromUtf8("actionNew_Chapter"))
        self.actionNew_Scene = QtGui.QAction(Vondelmain)
        icon4 = QtGui.QIcon()
        icon4.addPixmap(QtGui.QPixmap(_fromUtf8(":/images/images/book/scene.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionNew_Scene.setIcon(icon4)
        self.actionNew_Scene.setObjectName(_fromUtf8("actionNew_Scene"))
        self.action_New_Book = QtGui.QAction(Vondelmain)
        icon5 = QtGui.QIcon()
        icon5.addPixmap(QtGui.QPixmap(_fromUtf8(":/images/images/book/book_open.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.action_New_Book.setIcon(icon5)
        self.action_New_Book.setObjectName(_fromUtf8("action_New_Book"))
        self.action_Book_Properties = QtGui.QAction(Vondelmain)
        self.action_Book_Properties.setObjectName(_fromUtf8("action_Book_Properties"))
        self.action_Close = QtGui.QAction(Vondelmain)
        self.action_Close.setObjectName(_fromUtf8("action_Close"))
        self.action_New_Character = QtGui.QAction(Vondelmain)
        self.action_New_Character.setObjectName(_fromUtf8("action_New_Character"))
        self.action_New_Location = QtGui.QAction(Vondelmain)
        self.action_New_Location.setObjectName(_fromUtf8("action_New_Location"))
        self.action_Edit_Scene = QtGui.QAction(Vondelmain)
        self.action_Edit_Scene.setObjectName(_fromUtf8("action_Edit_Scene"))
        self.menu_File.addAction(self.action_New_Book)
        self.menu_File.addSeparator()
        self.menu_File.addAction(self.actionQuit)
        self.menu_Help.addAction(self.action_About_Vondel)
        self.menu_Chapter.addAction(self.actionNew_Chapter)
        self.menu_Scene.addAction(self.actionNew_Scene)
        self.menu_Scene.addAction(self.action_Edit_Scene)
        self.menu_Book.addAction(self.action_Book_Properties)
        self.menu_Book.addSeparator()
        self.menu_Book.addAction(self.action_Close)
        self.menuC_haracter.addAction(self.action_New_Character)
        self.menu_Location.addAction(self.action_New_Location)
        self.menuBar.addAction(self.menu_File.menuAction())
        self.menuBar.addAction(self.menu_Book.menuAction())
        self.menuBar.addAction(self.menu_Chapter.menuAction())
        self.menuBar.addAction(self.menu_Scene.menuAction())
        self.menuBar.addAction(self.menuC_haracter.menuAction())
        self.menuBar.addAction(self.menu_Location.menuAction())
        self.menuBar.addAction(self.menu_Help.menuAction())
        self.toolBar.addAction(self.actionQuit)
        self.toolBar.addAction(self.actionNew_Chapter)
        self.toolBar.addAction(self.actionNew_Scene)

        self.retranslateUi(Vondelmain)
        self.stackedWidget.setCurrentIndex(0)
        self.tabChapters.setCurrentIndex(0)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(Vondelmain)

    def retranslateUi(self, Vondelmain):
        __sortingEnabled = self.treeBook.isSortingEnabled()
        self.treeBook.setSortingEnabled(False)
        self.treeBook.topLevelItem(0).setText(0, QtGui.QApplication.translate("Vondelmain", "Book", None, QtGui.QApplication.UnicodeUTF8))
        self.treeBook.topLevelItem(0).child(0).setText(0, QtGui.QApplication.translate("Vondelmain", "Chapter One", None, QtGui.QApplication.UnicodeUTF8))
        self.treeBook.topLevelItem(0).child(0).child(0).setText(0, QtGui.QApplication.translate("Vondelmain", "Scene 1", None, QtGui.QApplication.UnicodeUTF8))
        self.treeBook.topLevelItem(0).child(1).setText(0, QtGui.QApplication.translate("Vondelmain", "Chapter Two", None, QtGui.QApplication.UnicodeUTF8))
        self.treeBook.topLevelItem(0).child(1).child(0).setText(0, QtGui.QApplication.translate("Vondelmain", "Scene 1", None, QtGui.QApplication.UnicodeUTF8))
        self.treeBook.topLevelItem(0).child(1).child(1).setText(0, QtGui.QApplication.translate("Vondelmain", "Scene 2", None, QtGui.QApplication.UnicodeUTF8))
        self.treeBook.setSortingEnabled(__sortingEnabled)
        self.tabChapters.setTabText(self.tabChapters.indexOf(self.tab), QtGui.QApplication.translate("Vondelmain", "Chapters", None, QtGui.QApplication.UnicodeUTF8))
        self.tabChapters.setTabText(self.tabChapters.indexOf(self.tab_2), QtGui.QApplication.translate("Vondelmain", "Characters", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_3), QtGui.QApplication.translate("Vondelmain", "Scenes", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_4), QtGui.QApplication.translate("Vondelmain", "Tab 2", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_File.setTitle(QtGui.QApplication.translate("Vondelmain", "&File", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_Help.setTitle(QtGui.QApplication.translate("Vondelmain", "&Help", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_Chapter.setTitle(QtGui.QApplication.translate("Vondelmain", "&Chapter", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_Scene.setTitle(QtGui.QApplication.translate("Vondelmain", "&Scene", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_Book.setTitle(QtGui.QApplication.translate("Vondelmain", "&Book", None, QtGui.QApplication.UnicodeUTF8))
        self.menuC_haracter.setTitle(QtGui.QApplication.translate("Vondelmain", "C&haracter", None, QtGui.QApplication.UnicodeUTF8))
        self.menu_Location.setTitle(QtGui.QApplication.translate("Vondelmain", "&Location", None, QtGui.QApplication.UnicodeUTF8))
        self.toolBar.setWindowTitle(QtGui.QApplication.translate("Vondelmain", "toolBar", None, QtGui.QApplication.UnicodeUTF8))
        self.actionQuit.setText(QtGui.QApplication.translate("Vondelmain", "Quit", None, QtGui.QApplication.UnicodeUTF8))
        self.actionQuit.setShortcut(QtGui.QApplication.translate("Vondelmain", "Ctrl+Q", None, QtGui.QApplication.UnicodeUTF8))
        self.action_About_Vondel.setText(QtGui.QApplication.translate("Vondelmain", "&About Vondel", None, QtGui.QApplication.UnicodeUTF8))
        self.actionNew_Chapter.setText(QtGui.QApplication.translate("Vondelmain", "New &Chapter", None, QtGui.QApplication.UnicodeUTF8))
        self.actionNew_Scene.setText(QtGui.QApplication.translate("Vondelmain", "New &Scene", None, QtGui.QApplication.UnicodeUTF8))
        self.action_New_Book.setText(QtGui.QApplication.translate("Vondelmain", "&New Book", None, QtGui.QApplication.UnicodeUTF8))
        self.action_Book_Properties.setText(QtGui.QApplication.translate("Vondelmain", "Book &Properties...", None, QtGui.QApplication.UnicodeUTF8))
        self.action_Close.setText(QtGui.QApplication.translate("Vondelmain", "&Close Book", None, QtGui.QApplication.UnicodeUTF8))
        self.action_New_Character.setText(QtGui.QApplication.translate("Vondelmain", "&New Character", None, QtGui.QApplication.UnicodeUTF8))
        self.action_New_Location.setText(QtGui.QApplication.translate("Vondelmain", "&New Location", None, QtGui.QApplication.UnicodeUTF8))
        self.action_Edit_Scene.setText(QtGui.QApplication.translate("Vondelmain", "&Edit Scene", None, QtGui.QApplication.UnicodeUTF8))

import vondelresources_rc

if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    Vondelmain = QtGui.QMainWindow()
    ui = Ui_Vondelmain()
    ui.setupUi(Vondelmain)
    Vondelmain.show()
    sys.exit(app.exec_())

